Found: workaround for array multiplication in constraints & objfcn using MILPModel #348
datadrivensupplychain
started this conversation in
Show and tell
Replies: 1 comment
-
Thanks! I move this to the discussions |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I figured out a way to use 3D and 4D arrays in constraints and the objective function using MILPModel. I am using this for my work in supply chain network optimization, and wanted to share with the community. OMPR is awesome!!
https://github.com/datadrivensupplychain/teaching_bits/blob/main/ompr_milpmodel_3d_4d_array_multiplication.r
Ralph Asher
ralph@datadrivensupplychain.com
Beta Was this translation helpful? Give feedback.
All reactions